package com.example.springboot01.model;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

/**
 * @Auther: zrd
 * @Date: 2022/4/18/04/18/20:44
 * @Description: com.example.springboot01.model
 */

@Data
public class Course implements Serializable {
    private static final long serialVersionUID = 1L;
    private int id;
    private String code;
    private String name;
    private int credit;
    private int hour;
    private List<Student> studentList;

}
